#ifndef LOOPS_H
#define LOOPS_H

#include <QPoint>
#include <QPixmap>
#include <QLabel>
#include <QRect>
#include "toys.h"
#include "SourceFile.h"
#include <QSound>

class Loops
{
public:
    Loops();

    void shotinit();
    void updata();

    void intersets(Toys* toy);


public:

  QPoint pos;

  QPixmap pix;
  QPixmap empty;

  QLabel pllop;

  QRect rct;

  int m_x;
  int m_y;

  bool iscrash=false;

  bool isshot=false;

  bool isout=false;

  QSound* hadshot=NULL;


};

#endif // LOOPS_H
